<script setup>
import TitleValue from '@components/TitleValue'
defineProps({
    data: Object,
    userInfo: Object
})
</script>

<template>
    <el-row :gutter="16">
        <el-col :span="7">
            <title-value title="用户id:" :value="data.userId" />
        </el-col>
        <el-col :span="4">
            <title-value title="姓名:" :value="userInfo.name" />
        </el-col>
        <el-col :span="7">
            <title-value title="身份证:" :value="userInfo.userIdCard" />
        </el-col>
        <el-col :span="6">
            <title-value title="手机号码:" :value="userInfo.mobile" />
        </el-col>
    </el-row>
    <el-row :gutter="16">
        <el-col :span="5">
            <title-value title="收货人:" :value="data.userName" />
        </el-col>
        <el-col :span="6">
            <title-value title="收货号码:" :value="data.userPhone" />
        </el-col>
        <el-col :span="13">
            <title-value title="收货地址:" :value="data.detail" />
        </el-col>
    </el-row>
</template>
    